hysop.backend.host.host_operator module¶
Abstract class providing a common interface to all discrete operators working on the Host backend.
HostOperator
is an abstract classused to provide a common interface to all discrete operators working with the opencl backend.
- class hysop.backend.host.host_operator.HostOperator(cl_env=None, **kwds)[source]¶
Bases:
HostOperatorBase
Abstract class for discrete operators working on cpu. HostOperator extra cl_env keyword parameter and enforces HOST backend.
Create the common attributes of all host operators.
All input and output variable topologies should be of kind Backend.HOST and share the same HostEnvironment.
- class hysop.backend.host.host_operator.HostOperatorBase(cl_env=None, **kwds)[source]¶
Bases:
ComputationalGraphOperator
Abstract class for discrete operators working on cpu. HostOperatorBase ignore the extra cl_env keyword parameter.
Create the common attributes of all host operators.
All input and output variable topologies should be of kind Backend.HOST and share the same HostEnvironment.